package com.ml.springbootidus.mapper;

import com.ml.springbootidus.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Mapper
public interface UserInfoMapper  {
    //查询
    List<UserInfo> getUserInfos();

    //添加
    Integer insertUserInfo(UserInfo userInfo);

    //修改
    Integer updateUserInfo(UserInfo userInfo);

    //删除
    Integer delUserInfo(UserInfo userInfo);

}
